-
Notifications
You must be signed in to change notification settings - Fork 30
SDP 1686 create wallet endpoint update #696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
stellar-disbursement-platform-backend-preview is available here: |
stellar-disbursement-platform-backend-preview is available here: |
stellar-disbursement-platform-backend-preview is available here: |
stellar-disbursement-platform-backend-preview is available here: |
@@ -86,6 +124,11 @@ func (wv *WalletValidator) ValidateCreateWalletRequest(ctx context.Context, reqB | |||
wv.Check(false, "sep_10_client_domain", "invalid SEP-10 client domain provided") | |||
} | |||
|
|||
if reqBody.Enabled == nil { | |||
defEnabled := true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this variable be inlined?
What
Update
POST
wallet endpoint to make it possible accept new asset references,Why
Create endpoint for the wallet exists but it does not match all requirements, this PR aims to extend
POST
endpoint capabilities and reduce number of the interaction with the DB directlyKnown limitations
Some of the asset types not implemented yet, like
fiat
orcontract
Checklist
SDP-1234: Add new feature
orChore: Refactor package xyz
format. The Jira ticket code was included if available.CHANGELOG.md
is updated (if applicable)